'use strict';
const db=uniCloud.database()
exports.main = async (event, context) => {
	let {novelname,num,zhangjienum,title,contentarr,_id} = event;
	let res = await db.collection('小说：'+novelname)
	.doc(_id)
	.update({
		 novelname,num,zhangjienum,title,contentarr
	});
	return res;
};


